<template>
	<view>
		<houseDetails :list="serachList"></houseDetails>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				serachList:[]
			}
		},
		onLoad(o){
			console.log(o.name);
			let name = o.name
			this.$api({
				url:`/lp?name=${name}`,
				successCB:res=>{
					console.log(res);
					this.serachList=res.data
					// console.log();
				}
			})
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
